package ModelLayer;

public class Country {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_country;
    private int id_zone;
    private String iso_code;
    private boolean active;
    private boolean contains_states;
    private String name;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public Country() {
    }

    public Country(int id_country, int id_zone, String iso_code, boolean active, boolean contains_states, String name) {
        this.id_country      = id_country;
        this.id_zone         = id_zone;
        this.iso_code        = iso_code;
        this.active          = active;
        this.contains_states = contains_states;
        this.name            = name;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDCountry(int id_country) {
        this.id_country = id_country;
    }
    public int getIDCountry() {
        return this.id_country;
    }

    //Set & Get: ID_Zone
    public void setIDZone(int id_zone) {
        this.id_zone = id_zone;
    }
    public int getIDZone() {
        return this.id_zone;
    }

    //Set & Get: Iso_Code
    public void setIsoCode(String iso_code) {
        this.iso_code = iso_code;
    }
    public String getIsoCode() {
        return this.iso_code;
    }

    //Set & Get: Active
    public void setActive(boolean active) {
        this.active = active;
    }
    public boolean getActive() {
        return this.active;
    }

    //Set & Get: Contains_States
    public void setContainsStates(boolean contains_states) {
        this.contains_states = contains_states;
    }
    public boolean getContainsStates() {
        return this.contains_states;
    }

    //Set & Get: Name
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return this.name;
    }
    // </editor-fold>
}
